home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Utils / NEW - Stylish / Bin / stylish-0.2.1-fx+fl+tb.xpi / chrome / stylish.jar / content / stylish-specify-sites.xul < prev    next >
Extensible Markup Language  |  2005-12-28  |  2KB  |  60 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://stylish/skin/" type="text/css"?>
  4.  
  5. <!--
  6.     This code is licensed under the GPL (http://www.gnu.org/copyleft/gpl.txt) 
  7.     Author: Jason Barnabe <jason_barnabe@fastmail.fm>
  8.     Release date: Oct 9, 2005
  9. -->
  10.  
  11. <!DOCTYPE dialog [
  12.     <!ENTITY % stylish SYSTEM "chrome://stylish/locale/stylish.dtd">
  13.     <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  14.     %stylish;
  15.     %brandDTD;
  16. ]>
  17.  
  18. <dialog
  19.     id="stylish-specifysites-window"
  20.     title="&stylish.specifysites.title;"
  21.     orient="vertical"
  22.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  23.     buttons="accept,cancel"
  24.     persist="screenX screenY width height"
  25.     onload="stylishSpecifySites.initSpecifySite()"
  26.   ondialogaccept="return stylishSpecifySites.closeSpecifySite()"
  27.     buttonlabelaccept="&stylish.save;">
  28.     
  29.     <script type="application/javascript" src="rdfds.js"/>    
  30.     <script type="application/javascript" src="stylishCommon.js"/>
  31.     <script type="application/javascript" src="stylishSpecifySites.js"/>
  32.  
  33.     <stringbundle id="strings" src="chrome://stylish/locale/stylish.properties"/>
  34.  
  35.     <radiogroup id="type" orient="horizontal">
  36.         <radio id="url-type" selected="true" label="&stylish.specifysites.urltype;" value="url"/>
  37.         <radio id="url-prefix-type" label="&stylish.specifysites.urlprefixtype;" value="url-prefix"/>
  38.         <radio id="domain-type" label="&stylish.specifysites.domaintype;" value="domain"/>
  39.     </radiogroup>
  40.  
  41.     <hbox>
  42.         <textbox id="url" flex="1" onkeypress="stylishSpecifySites.urlKeyPress(event)" oninput="stylishSpecifySites.urlInput()"/>
  43.         <button id="add" label="&stylish.add;" oncommand="stylishSpecifySites.addSpecifySiteEntry()" disabled="true"/>
  44.     </hbox>
  45.  
  46.     <tree flex="1" id="site-list-tree" seltype="multiple" onselect="stylishSpecifySites.changeSelection()" onkeypress="stylishSpecifySites.siteListKeyPress(event)">
  47.         <treecols>
  48.             <treecol flex="1" id="type-column" label="&stylish.specifysites.typecolumn;" persist="width ordinal hidden"/>
  49.             <splitter class="tree-splitter"/>
  50.             <treecol flex="2" id="site-column" label="&stylish.specifysites.sitecolumn;" persist="width ordinal hidden"/>
  51.         </treecols>
  52.         <treechildren id="site-list"/>
  53.     </tree>
  54.  
  55.     <hbox>
  56.         <button id="delete" label="&stylish.delete;" oncommand="stylishSpecifySites.deleteSiteList()" disabled="true"/>
  57.         <spacer flex="1"/>
  58.     </hbox>
  59. </dialog>
  60.